/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tools;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;

/**
 *
 * @author maggie
 */
public class DateTimeUtil {
	
	public static String createTimeStampString(String format) {

		String result = new SimpleDateFormat(format).format(new Timestamp(System.currentTimeMillis()));
		
		return result;
	}
	
}
